.class public Les/gd0;
.super Ljava/lang/Object;
.source "Futures.java"


# static fields
.field public static a:Lcom/hierynomus/smbj/transport/b;


# direct methods
.method public static a(Ljava/util/concurrent/Future;JLjava/util/concurrent/TimeUnit;Les/fd0;)Ljava/lang/Object;
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            "E:",
            "Ljava/lang/Throwable;",
            ">(",
            "Ljava/util/concurrent/Future<",
            "TT;>;J",
            "Ljava/util/concurrent/TimeUnit;",
            "Les/fd0<",
            "TE;>;)TT;^TE;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Throwable;
        }
    .end annotation

    .line 2
    :try_start_0
    invoke-interface {p0, p1, p2, p3}, Ljava/util/concurrent/Future;->get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;

    move-result-object p0
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_3
    .catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_0} :catch_2
    .catch Ljava/util/concurrent/TimeoutException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p0

    :catch_0
    move-exception p0

    .line 3
    sget-object p1, Les/gd0;->a:Lcom/hierynomus/smbj/transport/b;

    invoke-interface {p1, p0}, Lcom/hierynomus/smbj/transport/b;->a(Ljava/lang/Throwable;)V

    .line 4
    invoke-interface {p4, p0}, Les/fd0;->a(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    move-result-object p0

    throw p0

    :catch_1
    move-exception p0

    goto :goto_0

    :catch_2
    move-exception p0

    .line 5
    :goto_0
    sget-object p1, Les/gd0;->a:Lcom/hierynomus/smbj/transport/b;

    invoke-interface {p4, p0}, Les/fd0;->a(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    move-result-object p2

    invoke-interface {p1, p2}, Lcom/hierynomus/smbj/transport/b;->a(Ljava/lang/Throwable;)V

    .line 6
    invoke-interface {p4, p0}, Les/fd0;->a(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    move-result-object p0

    throw p0

    :catch_3
    move-exception p0

    .line 7
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Thread;->interrupt()V

    .line 8
    sget-object p1, Les/gd0;->a:Lcom/hierynomus/smbj/transport/b;

    invoke-interface {p4, p0}, Les/fd0;->a(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    move-result-object p2

    invoke-interface {p1, p2}, Lcom/hierynomus/smbj/transport/b;->a(Ljava/lang/Throwable;)V

    .line 9
    invoke-interface {p4, p0}, Les/fd0;->a(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    move-result-object p0

    throw p0
.end method

.method public static a(Ljava/util/concurrent/Future;Les/fd0;)Ljava/lang/Object;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            "E:",
            "Ljava/lang/Throwable;",
            ">(",
            "Ljava/util/concurrent/Future<",
            "TT;>;",
            "Les/fd0<",
            "TE;>;)TT;^TE;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Throwable;
        }
    .end annotation

    .line 1
    sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    const-wide/16 v1, 0x1e

    invoke-static {p0, v1, v2, v0, p1}, Les/gd0;->a(Ljava/util/concurrent/Future;JLjava/util/concurrent/TimeUnit;Les/fd0;)Ljava/lang/Object;

    move-result-object p0

    return-object p0
.end method
